#include <iostream>
using namespace std;

int main()
{
    const int a = 5;
    int b = 10;
    //a = 7;
    //int *P = &a;
    //int *P = (int*)&a;
    //*P = 7;
    const int *p = &a;
    p = &b;
    cout << "*p = " << *p << endl;
    return 0;
}
